export default function ({req,store}) {
    //  //console.log("initialize_store.req.headers",app,"process:",process)
    var deviceAgent = req.headers["user-agent"].toLowerCase();
    var agentID = deviceAgent.match(/(iphone|ipod|ipad|android)/);
    if(agentID){
      req.layout="wap";
    }else{
      req.layout="web";
    }
    let data = {
        "deviceAgent":deviceAgent,
        'uid':req.uid,
        'uuid':req.uuid,
        'csrf_token':req.csrf_token
    }
    store.commit("SET_DATA",data)

   
 }